﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ISHotel.Database
{
    [Serializable]
    public class Host
    {
        public static String ATTR_rodne_cislo = "rodne_cislo";
        public static String ATTR_jmeno = "jmeno";
        public static String ATTR_prijmeni = "prijmeni";
        public static String ATTR_ulice = "ulice";
        public static String ATTR_mesto = "mesto";
        public static String ATTR_psc = "psc";
        public static String ATTR_telefon = "telefon";
        public static String ATTR_email = "email";

        //private int mid_hosta;
        private String mrodne_cislo;
        private String mjmeno;
        private String mprijmeni;
        private String mulice;
        private String mmesto;
        private int mpsc;
        private int mtelefon;
        private String memail;


        public String rodne_cislo
        {
            get
            {
                return mrodne_cislo;
            }
            set
            {
                mrodne_cislo = value;
            }
        }

        public String jmeno
        {
            get
            {
                return mjmeno;
            }
            set
            {
                mjmeno = value;
            }
        }

        public String prijmeni
        {
            get
            {
                return mprijmeni;
            }
            set
            {
                mprijmeni = value;
            }
        }

        public String ulice
        {
            get
            {
                return mulice;
            }
            set
            {
                mulice = value;
            }
        }

        public String mesto
        {
            get
            {
                return mmesto;
            }
            set
            {
                mmesto = value;
            }
        }

        public int psc
        {
            get
            {
                return mpsc;
            }
            set
            {
                mpsc = value;
            }
        }

        public int telefon
        {
            get
            {
                return mtelefon;
            }
            set
            {
                mtelefon = value;
            }
        }

        public String email
        {
            get
            {
                return memail;
            }
            set
            {
                memail = value;
            }
        }
    }
}